using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using PietschSoft.VE;
using System.Collections.Generic;

public partial class Polyline_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        List<LatLong> l = new List<LatLong>();
        l.Add(new LatLong(46.21758, -69.08529));
        l.Add(new LatLong(46.21531, -69.00402));
        l.Add(new LatLong(46.21596, -68.82146));
        l.Add(new LatLong(45.85619, -68.82360));
        l.Add(new LatLong(45.82631, -68.82453));
        l.Add(new LatLong(45.82633, -68.85976));
        l.Add(new LatLong(45.81160, -68.85743));
        l.Add(new LatLong(45.81326, -68.89499));
        l.Add(new LatLong(45.83453, -68.94900));
        l.Add(new LatLong(45.85566, -68.95039));
        l.Add(new LatLong(45.85316, -69.07216));
        l.Add(new LatLong(45.93761, -69.07287));
        l.Add(new LatLong(45.93807, -69.08599));
        l.Add(new LatLong(46.01658, -69.08624));
        l.Add(new LatLong(46.01651, -69.06572));
        l.Add(new LatLong(46.03624, -69.06471));
        l.Add(new LatLong(46.03668, -69.08646));
        l.Add(new LatLong(46.21758, -69.08529));

        PietschSoft.VE.Polyline p = new PietschSoft.VE.Polyline(
                "1",
                l,
                new PietschSoft.VE.Color(0, 0, 250, 1.0),  //PietschSoft.VE.Color.Blue,
                4);
        Map1.Polylines.Add(p);

    }
}
